package com.example.framework.mqtt.core.properties;

import java.io.Serializable;

/**
 * <p>
 *  SSL Properties
 * </p>
 *
 * @author sfjiang
 * @since 2024/11/26 17:39
 */
public class SSLProperties implements Serializable {

    private boolean enabled = false;

    private boolean twoWay = false;

    private String serverTruststorePath;

    private String serverTruststorePass;

    private String clientKeystorePath;

    private String clientKeystorePass;


    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public boolean isTwoWay() {
        return twoWay;
    }

    public void setTwoWay(boolean twoWay) {
        this.twoWay = twoWay;
    }

    public String getServerTruststorePath() {
        return serverTruststorePath;
    }

    public void setServerTruststorePath(String serverTruststorePath) {
        this.serverTruststorePath = serverTruststorePath;
    }

    public String getServerTruststorePass() {
        return serverTruststorePass;
    }

    public void setServerTruststorePass(String serverTruststorePass) {
        this.serverTruststorePass = serverTruststorePass;
    }

    public String getClientKeystorePath() {
        return clientKeystorePath;
    }

    public void setClientKeystorePath(String clientKeystorePath) {
        this.clientKeystorePath = clientKeystorePath;
    }

    public String getClientKeystorePass() {
        return clientKeystorePass;
    }

    public void setClientKeystorePass(String clientKeystorePass) {
        this.clientKeystorePass = clientKeystorePass;
    }
}
